// import http from '../utils/http'
//其他区域配置
import request from '@/utils/request'

export function hasAll(params) {
    return request({
      url: '/TBaseArea/hasAll',
      method: 'get',
      params
    })
}
export function hasAllORS(params) {
  return request({
    url: '/TBaseArea/hasAllByType',
    method: 'get',
    params
  })
}
export function List(params) {
    return request({
      url: '/TBaseArea/hasAllToPage',
      method: 'get',
      params
    })
}
export function Add(data) {
    return request({
      url: '/TBaseArea/add',
      method: 'post',
      data
    })
}
export function Update(data) {
    return request({
      url: '/TBaseArea/update',
      method: 'post',
      data
    })
}
export function Delete(data) {
    return request({
      url: '/TBaseArea/delete',
      method: 'post',
      data
    })
}


